<template>
  <div class="main">
    <el-page-header @back="goBack" content="登录/注册" title="返回" style="width: 400px"></el-page-header>
    <div class="left">牙医信息医生管理平台</div>
    <div class="right">
      <router-view />
    </div>
  </div>
</template>

<script lang="ts" setup>
import router from "@/router";

const goBack = () => {
  console.log("go back");
  router.push("/");
};
</script>

<style lang="scss" scoped>
.main {
  display: flex;
  height: 100vh;
  background: url("/e1d42370-0237-4699-99f2-ffc9acd9d0d0.jpg");

  .left {
    width: 60vw;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
  }
  .right {
    width: 40vw;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
</style>
